Why use two 0.1 µF capacitors in parallel?
C2 is used to decouple pin 28 and C3 is used to decouple pin 22 (or vice versa): -



See also the Allegro data sheet for the A4988 driver; it shows the capacitors as C7 and C9: -