I had similar question few days ago and posted this on HN https://www.quora.com/Why-does-music-make-you-want-to-move-d...
"It has been noted that rhythm is a built-in part of every human being so the urge to move is very natural and it comes from deep inside. There has been a lot of suggestions that this would develop during child’s growth in the uterus, since hearing is the sense that develops close to its final stage before birth. This way the child absorbs the sounds of environment along with mother’s steady heartbeat that could be seen as a steady pulse in music."