You can't as it is. The backlight is designed to go off to save battery. There is a third party (free) app, BBLight, which will keep it on, if you desire, but it is not tied to the charging. BlackBerryTools OTA
You can set your backlight to stay on longer at Options > Screen/Keyboard.