How do I wean my 2-year-old from a pacifier?

There are several ways to go about this. Usually the first step is to restrict the pacifier consistently to certain times, such as bedtime and nap time. Then there's no rush to wean him from the pacifier because it will not interfere with permanent mouth development.
But next possible steps include offering the child the opportunity to trade in the pacifiers for a big-boy or big-girl toy, or dipping the pacifiers in something that just doesn't taste so great, such as pickle juice, so kids will look forward to them less.
I do not recommend cutting holes in pacifiers because this can create a choking hazard.