Can caffeine help you lose weight or does it cause weight gain? I know that it can have an effect on insulin levels.

Insignificant effect. You are aware of the obesity epidemic we have in this country.A significant number of whom,drink coffee daily.Not a magic cure,unfortunately.What works is low carb,low fat,smaller portions,chew your food well,eat to live(not live to eat)and only when hungry.