Dihydrogen is produced by coal gasification method as:

The yield of dihydrogen (obtained from coal gasification) can be increased by reacting carbon monoxide (formed during the reaction) with steam in the presence of iron chromate as a catalyst.

This reaction is called the water-gas shift reaction. Carbon dioxide is removed by scrubbing it with a solution of sodium arsenite.