Former US President Donald Trump pleaded not guilty at a federal courthouse in Miami after being indicted on 37 criminal counts.