Once you start the game, you should have both characters on-screen. Then, all you need to do is have two controllers plugged in. Player one will control Sonic as normal, but if you press a button on the second pad a co-op partner will be able control the other character. You can now play Sonic Mania coop!