If you did not complete the level with three coins, you will have an opportunity to play the level again to try to achieve three coins to earn the lucky ticket reward. To replay the levels where you failed to achieve three coins, you have to tap on the general menu icon (three horizontal bars) and select collect coins. It will display the levels which were not completed with three coins.