You need to obtain the plasma card to be able to enter the password. The password for Pokemon White 2 is "zekrom", and Pokemon Black 2 is either "9099" or "9909".
I'd actually recommend to battle all of the Team Plasma Grunts to get clues for the password, since that's what I did.
Nintendo Cheats Expert