When you make an attack roll and the d20 shows a 20, you score a Critical Hit.
Roll all the attack's damage dice twice and add them together, then add any relevant modifiers as normal.
You don't roll damage dice more than twice even if a feature grants extra damage dice for the attack.