Multi bar repeat

Hello,
How can I write in scores the repeat of 2 bars for 20 times while the range of the barnumbers is shown?
Thanks