A BBC documentary airing next week will show what happens behind the scenes at Thames Water.