I’m thinking yes. Coffee is okay for fasting but it DOES have calories. Cucumber infused water should be fine if you don’t actually eat the cucumber.
Coffee is up to 5 calories per liter and it’s considered okay. I don’t know what cucumber what would be since cucumbers have sugars in it. But since it’s regarded as crunchy water in the realm of veggies, I’m sure it’s fine.