I don't know about putting it directly into the soil, but I've been adding it to my compost pile over the years. I usually pick up extra at my local Starbucks. Most stores will either set aside free bags of coffee grounds or you can bring your own container and they'll fill it up for you. I just got about five gallons worth the other day.
Good old Google ; Compost Material – Coffee grounds fit the standards set by gardeners for compost materials. The grounds, when mixed with soil, release nutrients that make the ground richer and more acidic. Plants that flourish in acidic soil will be healthier since they can get the needed nourishment from the ground. If you have a good supply of coffee grounds, just spread them evenly in your garden. Your plants will reward you by producing robust blooms.
according to a pH done by a 3rd party starbucks coffee grounds were only acidic and not nearly as acidic as people would think. but i guess it all depends on the blend that a coffee shop uses. and what country. might differ from place to place, and the sources the grounds come from.
but in my experience, if you use enough of these coffee grounds, they do make the soil acidic that the plants get burned. but then during that time i was quite overzealous with the stuff. lol.
in short, moderation is key.
I read somewhere that snails hate em.