You must mix your coffee grounds with brown compost material. Mix them in the ratio 4:1 (brown compost material is to green compost material). Be sure to keep to this specific ratio to avoid bad compost.