Is methane produced by stomach bacteria?

Not in your stomach as it is too acidic for bacteria. Cows have a stomach compartment just for bacterial digestive action that produces methane. Perhaps in your intestinal region methane can be produced.