The water-ice becomes hydrogen and oxygen. The regolith is imbedded with hydrogen and the sun provides solar energy. Some speak of Helium 3 but I'm reserving judgment on that.