Besides the Pneumonia, coughing can also be a symptom of lungworm.
A friend with some coughing sheep and lungworm problems, had their vet recommend treatment with levamisol. I believe you need to treat more than once. I am not sure what other dewormers are effective.