Oil and gas dual purpose steam generator