Is there a Salah to pray for the infallible imams?
If yes how do I pray the Salah?

After ziyara of the Imams you can pray a 2 Raka prayer and gifting the reward to them.