There shouldn't be enough nitrogen in the coffee grounds to cause a problem, they're only around 2% N and that is organic nitrogen so not available to plants until microorganisms have converted it to forms they can use, i.e. ammonium and nitrate. All plants need some nitrogen, even tomatoes can suffer from nitrogen deficiency.