replacing ceramic capacitors in a wifi router
What type of replacement capacitors should I get?


None.  This thing is broken, busted, kaput.  Unless you need a door held open, toss it and move on.

If a lightning strike caused this much visible damage, it almost certainly caused much more invisible damage.  The few parts with obvious damage are just the tip of the iceberg.

High voltage got into this circuit someplace.  The parts weren't rated to withstand that, so even parts that would normally block current can't be counted on to have done that.  This thing was seriously abused.

Again, ditch it and don't look back.