Controlling two DC motors with keyboard and more

A keyboard connected to the arduino? A computer?