German student here!
Der Kaffee is a masculine noun—and it is the direct object in this sentence. Therefore it must be in the accusative case. Masculine nouns require a different article in the accusative than they do in the nominative. Therefore the correct article is keinen instead of kein/keine, etc.