It should work, you guys putting in the same code? There's also a bug with the way the game's set up right now that if you both click the join game button online at the exact same time it doesn't connect, so maybe that's the issue
Try one player joining the game, and other person waiting a second or two first before trying to connect! Hope this helps!