Hydrogen from wastewater