There is no limit to how many you can have. Many times especially in the past once you had one c-section, all of your other children would also need to be born that way, but this does not always happen (Princess Mathilde is a good example)
Current thinking suggests that you wait 18 months between kids, but that is subjective and it doesn't matter how the first baby was born. I think if you had two children close together and the first was caesearan then the second one would be more likley to be born the same way.
In the USA, women are advised to not have more than three c sections. In fact you are advised after two, to consider not having another pregnancy. The reason is that while you open the same incision scar on the skin, each c section produces another incision on the uterus, in a different location. This leads to weak spots in the uterine wall. If one goes into labor, there is an increased chance, with each additional scar on the uterus, of a rupture which would cause rapid maternal fatality