For my keyboard project I'm working on, I'm using a Microchip PIC controller, simply because that's what I'm most familiar with, and have a lot of different PCBs around with those MCUs installed that I can just connect jumper wires to and am ready to go. Currently I'm using a PIC32MX device (32-bit MCU) because I've been migrating to that recently opposed to the PIC24F devices (16-bit MCU) which I used for many years. Either one of them will work fine and are in my opinion easy to develop on, but are probably overkill, at least for the devices I'm using. Some of the earlier PIC 8-bit MCUs had an architecture which resulted in an extremely limited stack size. If you're into writing well-organized modular code, it's almost impossible to use one of those unless for the simplest of tasks. Either the PIC24F or PIC32MX though don't have such limitations. The PIC32MX uses a MIPS32 core, whereas previous PICs I believe were all proprietary Microchip cores. That probably though won't matter much to anyone making a keyboard controller, being I imagine you'd be coding in C, BASIC, or another high-level language, and not in Assembler.
If you're not into doing the whole thing yourself, including writing the firmware, I wouldn't recommend any Microchip MCUs being I haven't seen others using them. In that case I'd recommend you stick with the Teensy, being as mentioned it seems to be the favorite around here and you can get a lot of advice/support. If you are doing it all yourself, then I would think the primary factor would be which MCU you're most familiar with. If you don't have any experience writing firmware for MCUs, I wouldn't recommend a keyboard controller as your first project. Not that it's very complicated, but simply coming from coding PCs or other computers down to the MCU level might involve a bit of a learning curve that you aren't expecting.
As Hasu mentions, any of those MCUs on his list should do the job. Choose the one which you're most familiar with, and/or already have tools to support it.
If I didn't have any significant experience or preference, I think I'd go with the Teensy, and do all the development with it, being that's what it's designed for. Then when finished, and needing a different form factor, simply design a PCB to what you need utilizing the stand alone Atmel ATmega MCU. Seems to me using that method you get the best of both worlds.