A process to convert coal to gas which occurs underground. Coal, and volatiles embedded in the coal (mostly methane) are partially combusted in the presence of steam, oxygen and / or air, to produce hydrogen and carbon monoxide.