2D game playable on a screen ingame

I want to have a virtual arcade cabinet in the VR game I’m working on, and I’d like to have a playable 2D minigame running on that arcade cabinet so that players can come up to the cabinet and play that game. What is the best way to go about this?