Former US President Donald Trump has been indicted following an investigation into a hush money scheme.