The Telegraph Telephone Act provides that wire-tapping is an offence under Section 24.
It might help you to think of the use of keyloggers as comparable to wire-tapping.