Coffee can give you a bit of an upset stomach (5)
I believe the answer is:
mocha
'coffee' is the definition.
(type of coffee drink)
I cannot understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for mocha that I've seen before include "Strong dark coffee" , "Leather" , "Dark brown" , "Fine-quality coffee" , "Kid" .)