You need both W2 and B2 to get the keys needed; Registeel's Iron Key is obtained in Black 2 and Regice's Iceberg Key is obtained in White 2. You get these keys in your version when you capture Regirock.
You then swap keys via the Unova Link function between the two versions.
Source
If you're asking how to solve the puzzle, watch this video:
Link