It depends on how you plan to use the coffee grounds. They contain potassium and nitrogen beneficial for citruses and have high acidity. However, at the same time, caffeine is detrimental to beneficial bacteria and some species of insects. So it is better to let the coffee grounds decompose in a compost pile and only then add it to the soil to the plants.