The reason you can't hit both at the same time is because they're technically the same enemy. If you watch closely, when you hit one part they both turn red. As a consequence of this, not only does chain lightning not work, you can't hit both of them with a melee attack, a Blade Flurry or any other skill.