Coal from hydrogen