Nitrogen pollution could severely triple water scarcity by 2050. Poor water quality could affect more than 3,000 river basins.