Integrated water and power plant