For something like a puzzle that says mate in 2, it means two moves of the player listed to move.
If you have mate in two, it's your move and,
you move, opponent moves, you move with checkmate.
It doesn't matter which color you have.