You'll need to actually take him outside, at least at first. One of the joys of training a dog is the fun of standing around in the cold waiting for them to get on with it.
None of my dogs have ever cared about rain or thunder. It's important not to react, or imply in any way that thunder is...