Baryons in the Cosmic Web of IllustrisTNG - I: Gas in knots, filaments, sheets, and voids