Use the coffee grounds sparingly, and be careful with water after application of coffee grounds to the soil. Concerns about increasing acidity will also be eliminated by sparing use of coffee grounds around the plants. However, there are many, many grubs in the pile. I am afraid to put the compost in my garden or around the yard. I am assuming they are grubs.
Grubs are common in composting material.
They are fat, white, larvae of beetles. They have a brown head capsule and legs and a dark gray area at the end opposite their head. Grubs may actually participate in the composting process. There are many types of grubs, so yours may not be a problem. However, it is possible that they are a problem.