Using keypad to scroll. HELP PLEASE

yeah I meant the LCD displaying different things, each time i press. But how do i do that with a '*' key rather than an external button?