Omeprazole is a PPI (proton pump inhibitor. PPI is indicated to take half an hour (30 min) before taking any meal or drink. You can drink coffee after 30 min of taking omeprazole. Omeprazole would lower gastric secretion and help you to reduce the effect of acidic coffee.