I haven't done it, but my guess on how to achieve it is
1. Record your video as normal (overhead shot) and record your midi at the same time(keep sequencer running during filming)
2. Film midi sequence running on midi keys
3. Merge/Sync both videos together.