About 40,000 people are taking part at a rally for Democratic presidential candidate Hillary Clinton with President Barack Obama in attendance.