be', il linguaggio puoi usare quello che vuoi, anche se secondo me il C è ottimo... poi per poter programmare un keylogger sicuramente devi imparare la programmazione di rete (socket e compagnia bella) e le system call del sistema operativo che usi.
buona fortuna!