Actually, exp isn't awarded whenever both pokemon die. It will also happen when the attacking pokemon dies from recoil damage, for example. It's no particularity of the explosion move.
Also, If your pokemon resists the explosion damage, you will get exp as normal.
Hangather is right, blue663. No experience rewarded if both Pokemon happened to faint in the same turn.