Cinemachine reads the input system by calling CinemachineCore.GetInputAxis(). This is a delegate which by default just calls Input.GetAxis(). You can install your own delegate that calls Input.GetAxis and preforms any additional logic before returning the value.
Here is an example from another thread showing how to install a custom input delegate: