Opposites attract... at least they did in these cases. Each of these criminals, Zebra-Man and the Human Magnet, stumbled upon a gimmick...Z-Man by scientific acumen and Magnet by a botched robbery turned near-electrocution turned super power. Both had the power to attract and repel objects through magnetic energy they absorbed.
And for awhile, they were moderately successful. That is, until the Batmen and their sidekicks used the hoods' powers against them. Earth-One's Batman tricked Zebra into reversing his magnetic charge, which pulled him towards the equally irradiated Dark Knight! However, Earth-Two's Batman went a simpler route, simply tricking Maggie into clapping his hands together causing them to bond indefinitely. Both ended up "stuck" behind bars.