Electroweak phase transition, gravitational waves and dark matter in two scalar singlet extension of the standard model