Press Windows Key + Alt + R to start recording in the game window. You can also choose to record yourself using the microphone while doing so. Press the same keys to stop the recording.