Composite Motion Learning with Task Control