The acid in coffee is the reason why half-and-half gets clumpy or curdles. This is totally normal. It tends to happen if the half-and-half is not fresh. As long as the half-and-half is still fresh and not spoiled, the coffee is perfectly safe to drink.