Production of Hydrogen and Electricity from Coal with CO2 Capture