It should be explained to you in the Dialogue right before entering the minigame.
But to summarise:
Click the buttons that match the letters of the code on screen, in the correct order. When there is a Forward Slash "/" in the code, wait three seconds, then press the next letter in the code.