Coffee grounds will contain nitrogen, calcium, potassium, iron, phosphorus, and magnesium so it's not a BAD thing - but if you're also using nutes, you may be giving too much of some of the elements... Outside, putting coffee grounds around a plant will help attract worms and it's good for adding acid around acid-loving plants such as hydrangea - but I honestly think it would have limited worth for an indoor grow of cannabis... That being said, it's your call since I really don't see a HUGE downside..
Good luck!