I think people are talking about using coffee grounds, not pure coffee out of the can.
I strongly doubt that it's the caffeine that bothers them but the grains of coffee against their tender undersides.
Until you get the problem under control, can you dig them and pot them up in fresh potting soil to keep them safe?