This has nothing to do with Keil or ARM - this is entirely an ST proprietary thing - so you need to ask ST:
https://community.st.com/s/
https://community.arm.com/developer/tools-software/tools/f/keil-forum/43684/lpc2148-timer0-not-working-as-expected/158950#158950