There are 3 things I've seen that can cause this symptoms.
1. If one of the sparkplugs on a given coils' 2 leads is fouled, it will drop the spark energy to less than 50%. This causes the other plug to not fire at all.
2. Likewise, if one of the sparkplug caps has resistance of more than 10% higher than the other cap on this same coil, only one side will fire.
3. A bad coil will also do this, but it's pretty rare for both coils to fail at once. It usually is #1 or 2 above.
The plug cap resistance of the post-1975 bikes is 10,000 ohms if the caps are OEM type. Unscrew them from the coil wires and measure the resistance between the brass screw on the wire side and the plug's socket inside the cap. On any one coil, the resistance between the caps must be equal within [less than] 1,000 ohms, and not over 11,000 in any case. Replace them in pairs. Today, we mostly find the 5000 ohm types in most bikes shops, which will work fine.