The San Francisco Public Utilities Commission reached an agreement Tuesday night with two San Mateo County cities and a San Jose-based water company that is expected to benefit 2.6 million Bay Area residents, SFPUC officials announced Wednesday.