It'll help for him to sleep with his head/chest slightly more elevated. Stick an old pillow under the mattress at the head of the bed on his side, it's easier than trying to prop up on pillows

It's so horrible when you can't stop coughing, not only do you not get any sleep, but then you feel bad because you're keeping your spouse up

I hope he's better soon!