Niko Kranjcar scored and provided two assists as Rangers beat Peterhead 5-0 to cruise into the Betfred Cup quarter-finals.