From my understanding, the general meaning of the word mögen is to like. And the addition of the word gern in a sentence such as Ich trinke Kaffee gern means that you like to drink coffee.
But is there any semantic difference between saying Ich mag Kaffee zu trinken and Ich trinke Kaffee gern?
It seems like they both generally translate to I like to drink coffee.