You will need an IMU device sensing acceleration and rotation. Typical interface is I2C which you connect with two wires to your PSoC.
Devices similar to
MPU9255 (3-Axis Acceleration + Gyroscope + Magnetometer 9-DOF IMU)
Rotation I can get by gyroscope but how to get running speed ( cadence) ?
Velocity is the integral of the acceleration. Cadence can be filtered from z-axis movements.
Will require some amount of math.