Honestly, it will only make a difference if you are also moderate with everything else. Lots of other processed sugar on its own will undermine all that good work in no time.
My best advice if you want to see big results is to cut out all processed sugar (i.e. apart from fresh fruit). So no sweets, chocolate, cake, fruit juice, squash, fizzy etc. Wine actually has relatively few calories per ml so a small glass every other day or so will have a lot less impact on you weight than say, a large glass of orange juice of or squash.
Caffeine itself will have no impact on weight loss, unless you are adding lots of sugar to your drinks and/or having lots of large lattes!
I lost 1.5 stone in ten weeks by cutting out sugar, reducing the number and size of portions of carbs (one small portion per day of bread, pasta or rice - just one, not all three!) and being more mindful of portion sizes in general.
I still had lots of coffee and tea, and a medium glass of red wine most nights. If you feel like you are denying yourself you could add back in some caffeine and wine without much impact.
Good luck!