The money comes from New York State's Water Infrastructure Improvement Act and the Intermunicipal Water Infrastructure Grant Program