Calling m the mass of each object and v its speed, the kinetic energy of one object is given by
As we can see, the value of the kinetic energy depends only on the speed, not on the direction of the velocity. Therefore, the kinetic energy of the second object is the same: