Dear student
Here is the answer to your question
Coffee is a mixture of several compounds . we cant say wether it is acid or basic . although when coffee is brewed that is coffee beans are poured into hot water then its pH become acidic due to presence of cholorgenic acid
Regards