I want to know if nrf51822 is compatible with ant+ protocol
No, but the nRF51422 is. Please see this for more information.