Can I breastfeed and drink coffee??

Can I have a small coffee ? I just pumped so I don’t have to until awhile.