@anuj01 Another alternative is to use the M5 official IO expander unit.
https://m5stack.com/collections/m5-unit/products/official-extend-serial-i-o-unit
M5StickC has an I2C grove port, and you can connect this unit to it. I have tested and it works. Good luck.