Coffee recommendations

Any places where I can get good coffee beans? Will be in Sanur, Seminyak and going visit Ubud. Any other recommendations for cafés and restaurants to try will be appreciated thanks!