Questions & Answers about Ég var vanur að drekka mikið koffín.
Why does the word for "used to" take the form vanur here?
Does vera vanur að mean "used to do" or "was used to doing"?
It actually covers both concepts. While English distinguishes between a past habit ("I used to drink") and the state of being accustomed to something ("I was used to drinking"), Icelandic uses this single structure for both.
Why do we use mikið for "a lot of" instead of a form of margur?
mikið is used for uncountable nouns like koffín (caffeine), just like the word "much" in English. Forms of margur are reserved for countable things, like cups or cans. mikið is in the neuter accusative form here to match the neuter noun koffín.
How would I change this sentence to say "I am used to drinking a lot of caffeine"?
You only need to change the tense of the helping verb vera (to be). By swapping the past tense var for the present tense er, you get Ég er vanur að drekka mikið koffín. The að plus infinitive part stays exactly the same.