A 2018 study showed caffeine to be promising in weight and body fat reduction.
A study with competitive cyclists looked at the impact on those who had a coffee containing 330 mg of caffeine an hour before exercise. Their performance was compared with other cyclists who had a decaf coffee. None of the cyclists knew which coffee they had. The result was startling! Those who had received the caffeine were able to train for 15 minutes longer than the decaf group and burned nearly twice as much fat.
A coffee an hour before you exercise therefore makes good sense.