Methanol is converted to co and h2 with the action of the catalyst; -co and h2o are converted to co2 and h2 with the action of the catalyst; -co2 and trace co are separated from the decomposed gases by psa technology, and high purity of h2 is generated.