Make sure the bike is turned off and parked on a level surface.
Pop off the rubber cover.
Unscrew the negative (black) terminal to lift off negative cables.
Unscrew the positive (red) terminal to lift off positive cables.
Remove the battery and replace it with a new one.
Reconnect the positive (red) terminal.
Reconnect the negative (black) terminal.
Replace rubber cover.