They will pass each other at h/2 and their speeds will be equal because they are connected by the string (velocity equal in magnitude, opposite in direction).