Adrian Brody actually learnt how to play when he filmed the pianist, so Michael Douglass may have done that or already know how to play. Or have his head cgi'd on.
I'm not so sure. Douglas does a good job pretending to play, but when the bass notes are heard his hands are further up the keyboard. It didn't look realistic to me. Not a condemnation, just an observation.