Methods for generating electricity from carbonaceous material with substantially no carbon dioxide emissions