Countdown Timer

I am trying to make a basic game that requires the user to input data within 10 seconds or the game ends. Basically I want a timer to be displayed on screen that every time the game restarts (not the app restarts, but that session of the game) the timer resets to 10 seconds and counts down.

Have searched everywhere with no luck.