When the load on an actuating system including a motor on the legged moving robot is abruptly increased as when the legged moving robot starts walking, the reformer is instructed to increase the amount of hydrogen generated thereby for enabling the fuel cell to generate electric energy large enough to meet the load.