What is the chemical equation for fossil fuels burning in the air?

For coal is carbon burning:
C + O2 = CO2