Water is the grammatical subject of the first clause and therefore the 's' is needed in becomes, which is inflected in the third person singular, present tense. Infected is a past participle used adjectivally; it tells us what the water is like after it becomes infected with bacteria. Think of becomes infected as if it were a passive: is infected.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.